/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.business.patrolStation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.opsli.api.wrapper.business.emergency.EmergencyReportModel;
import org.opsli.api.wrapper.business.patrolLocation.PatrolLocationModel;
import org.opsli.api.wrapper.business.patrolStation.PatrolStationModel;
import org.opsli.core.base.service.interfaces.CrudServiceInterface;


import org.opsli.modulars.business.patrolStation.entity.PatrolStation;
import org.opsli.modulars.business.patrolStation.entity.PatrolStationWeb;
import org.opsli.modulars.business.pipelineStation.entity.PipelineStation;

import java.util.List;

/**
 * 巡点管理 Service
 *
 * @author zk
 * @date 2021-09-14 15:53:53
 */
public interface IPatrolStationService extends CrudServiceInterface<PatrolStation, PatrolStationModel> {

    List<PatrolStationModel> findList(String devid);

    List<PatrolStationModel> findListFm(String devid);

    List<PatrolStationModel> findListByType(String devid,String type);

    List<PatrolStationModel> findListByControlAreaText(String devid,String type,String controlAreaText);

    List<EmergencyReportModel> findEList(String devid);

    List<PatrolLocationModel> findPList(String devid);

    List<PatrolLocationModel> findPListHome(String devid);

    public Page<PatrolStationModel> getMyList(Page< PatrolStationModel> page, PatrolStationModel announcementSendModel,Integer beginSize,Integer endSize);

    public Integer getSum(String devid,String type);

    List<PatrolStationModel> findListByTypeAndName(String devid,String type,String stationName);

    List<PatrolStationModel> findListQu(String id);

    void updateClear(String id);


}
